package com.ma.implatform.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@Data
@TableName("im_user")
public class User {
    @TableId
    private Long id;

    private String userName;

    private String nickName;

    private String headImage;

    private String headImageThumb;

    private String password;
    private Integer sex;
    /**
     * 个性签名
     */
    private String signature;
    /**
     * 账号是否被封禁
     */
    private Boolean isBanned;
    /**
     * 账号被封禁原因
     */
    private String reason;
    /**
     * 最后登录时间
     */
    private Date lastLoginTime;
    private Date createdTime;
    /**
     * 账号类型：1普通用户，2：wx小程序审核账户
     */
    private Integer type;

}
